'''
Created on Feb 17, 2013

@author: Petko
'''

class Authenticator():
    '''
    classdocs
    '''
    def __init__(self):
        '''
        Constructor
        '''
        pass
    
    
    def authenticate(self, username, password):
        raise NotImplementedError('Please implement the method authenticate which takes username and password and returns boolResult,externalData ')

    
class DummyAuthenticator(Authenticator):
    '''
    classdocs
    '''
    
    def __init__(self):
        '''
        Constructor
        '''
        
    def authenticate(self, username, password):
        return True, None
    

class RESTAuthenticator():
    '''
    classdocs
    '''


    def __init__(self):
        '''
        Constructor
        '''
        